package cn.common.goods.model;

import cn.common.common.model.BaseParms;
import io.swagger.annotations.ApiModelProperty;

public class BaseGoodsStyle extends BaseParms {
    @ApiModelProperty(value = "商品款式ID")
    private Integer id;
    @ApiModelProperty(value = "所属商品ID")
    private Integer goodsId;
    @ApiModelProperty(value = "商品款式名称")
    private String name;
    @ApiModelProperty(value = "商品款式余额")
    private Integer balance;
    @ApiModelProperty(value = "商品款式余额(黄色预警)")
    private Integer balanceWarn;
    @ApiModelProperty(value = "单价")
    private Double price;
    @ApiModelProperty(value = "单位")
    private String unit;
    @ApiModelProperty(value = "重量")
    private Double weight;
    @ApiModelProperty(value = "类别")
    private String type;
    @ApiModelProperty(value = "材质")
    private String material;
    @ApiModelProperty(value = "备注")
    private String note;
    @ApiModelProperty(value = "编号")
    private String code;
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;
    @ApiModelProperty(value = "供应商地址")
    private String supplierUrl;
    @ApiModelProperty(value = "图片地址")
    private String imgPath;
    @ApiModelProperty(value = "商品款式余额(红色预警)")
    private Integer balanceError;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public Integer getBalanceWarn() {
        return balanceWarn;
    }

    public void setBalanceWarn(Integer balanceWarn) {
        this.balanceWarn = balanceWarn;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material == null ? null : material.trim();
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName == null ? null : supplierName.trim();
    }

    public String getSupplierUrl() {
        return supplierUrl;
    }

    public void setSupplierUrl(String supplierUrl) {
        this.supplierUrl = supplierUrl == null ? null : supplierUrl.trim();
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath == null ? null : imgPath.trim();
    }

    public Integer getBalanceError() {
        return balanceError;
    }

    public void setBalanceError(Integer balanceError) {
        this.balanceError = balanceError;
    }
}